package com.jindy.module.transferProduct.domain;

import com.jindy.common.annotation.Excel;
import com.jindy.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * 库存调拨产品对象 sy_transfer_product_t
 * 
 * @author jindy
 * @date 2023-04-12
 */
@Data
public class SyTransferProductT extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 调拨编码 */
    @Excel(name = "调拨编码")
    private String transferNo;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 产品编号 */
    @Excel(name = "产品编号")
    private String productNo;

    /** 型号 */
    @Excel(name = "型号")
    private String model;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehouseName;

    /** 数量 */
    @Excel(name = "数量")
    private Long quantity;


    /** 状态 */
    @Excel(name = "状态")
    private String dataState;


    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("id", id)
                .append("transferNo", transferNo)
                .append("productName", productName)
                .append("productNo", productNo)
                .append("model", model)
                .append("warehouseName", warehouseName)
                .append("quantity", quantity)
                .append("dataState", dataState)
                .toString();
    }
}
